<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: InLogNeg.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_in_log_neg_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">InLogNeg.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Interface do Modulo Logica de Negocios.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="_in_per_alb_8h_source.html">InPerAlb.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_in_per_fot_8h_source.html">InPerFot.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_in_per_usr_8h_source.html">InPerUsr.h</a>&quot;</code><br/>
</div>
<p><a href="_in_log_neg_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_foto_usr.html">FotoUsr</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis.  <a href="struct_foto_usr.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_album_str.html">AlbumStr</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis.  <a href="struct_album_str.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_usuario.html">Usuario</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis.  <a href="struct_usuario.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_lista_usuario___l_n.html">ListaUsuario_LN</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af1c509db8c170d0774cefecdbea83cf8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1c509db8c170d0774cefecdbea83cf8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ExtLN</b>&#160;&#160;&#160;extern</td></tr>
<tr class="memitem:ae1576797d033c68d5a760482b7f0f42f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1576797d033c68d5a760482b7f0f42f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>USUARIOMESTRE</b>&#160;&#160;&#160;&quot;admin&quot;</td></tr>
<tr class="memitem:abe2fbc19082fdcb9102a92e00516c2bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe2fbc19082fdcb9102a92e00516c2bd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SENHAMESTRE</b>&#160;&#160;&#160;&quot;admin&quot;</td></tr>
<tr class="memitem:a3c30fce64d55d2922df6ef94a3819302"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c30fce64d55d2922df6ef94a3819302"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>NUMEROALBUMSPORUSER</b>&#160;&#160;&#160;5</td></tr>
<tr class="memitem:a470625458cb825f6335907571ceb4fee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a470625458cb825f6335907571ceb4fee"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>NUMEROFOTOSPORALBUM</b>&#160;&#160;&#160;10</td></tr>
<tr class="memitem:a4ab706e492cbd2848b4f0a7e908fe7d4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ab706e492cbd2848b4f0a7e908fe7d4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>NUMEROMAXTENTATIVAS</b>&#160;&#160;&#160;5</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ac88b98bebc910c70e9fe2427479de196"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac88b98bebc910c70e9fe2427479de196"></a>
typedef struct <a class="el" href="struct_foto_usr.html">FotoUsr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Foto_LN</b></td></tr>
<tr class="memitem:a651c23d83f215503e227b4502673ea62"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a651c23d83f215503e227b4502673ea62"></a>
typedef struct <a class="el" href="struct_album_str.html">AlbumStr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Album_LN</b></td></tr>
<tr class="memitem:ae2f959aab0696c34ad2ecb55a65fc03d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2f959aab0696c34ad2ecb55a65fc03d"></a>
typedef struct <a class="el" href="struct_usuario.html">Usuario</a>&#160;</td><td class="memItemRight" valign="bottom"><b>User_LN</b></td></tr>
<tr class="memitem:a8d0755a9d3b66c11b0753795c0bb94f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d0755a9d3b66c11b0753795c0bb94f0"></a>
typedef struct <a class="el" href="struct_lista_usuario___l_n.html">ListaUsuario_LN</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ListaUsers_LN</b></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae1e87ec6b287b91c149a71683da0dd1f"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#ae1e87ec6b287b91c149a71683da0dd1f">AddConta_LN</a> (const char *CpfPass, const char *NomePass, const char *SenhaPass)</td></tr>
<tr class="memdesc:ae1e87ec6b287b91c149a71683da0dd1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por salvar o usuario.  <a href="#ae1e87ec6b287b91c149a71683da0dd1f"></a><br/></td></tr>
<tr class="memitem:ac9bc311a72767baf035254d438b7ead8"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#ac9bc311a72767baf035254d438b7ead8">AddAlbum_LN</a> (const char *CpfPass, <a class="el" href="struct_album_str.html">Album_LN</a> *AlbumPass)</td></tr>
<tr class="memdesc:ac9bc311a72767baf035254d438b7ead8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel adcionar um novo album.  <a href="#ac9bc311a72767baf035254d438b7ead8"></a><br/></td></tr>
<tr class="memitem:ac1d90ac6ca166f7e40a17f6de6d0eafb"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#ac1d90ac6ca166f7e40a17f6de6d0eafb">AddFoto_LN</a> (const char *CpfPass, const char *CodigAlbumPass, <a class="el" href="struct_foto_usr.html">Foto_LN</a> *FotoPass)</td></tr>
<tr class="memdesc:ac1d90ac6ca166f7e40a17f6de6d0eafb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel Armazenar uma Foto.  <a href="#ac1d90ac6ca166f7e40a17f6de6d0eafb"></a><br/></td></tr>
<tr class="memitem:a3485088c91f592ca019bacf4afcfb502"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a3485088c91f592ca019bacf4afcfb502">EditaConta_LN</a> (const char *CpfPass, const char *NomePass, const char *SenhaPass)</td></tr>
<tr class="memdesc:a3485088c91f592ca019bacf4afcfb502"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel editar informacoes de um usuario.  <a href="#a3485088c91f592ca019bacf4afcfb502"></a><br/></td></tr>
<tr class="memitem:a96e10b4b091ba8b66589ee306188bb9d"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a96e10b4b091ba8b66589ee306188bb9d">EditaAlbum_LN</a> (<a class="el" href="struct_album_str.html">Album_LN</a> *AlbumPass)</td></tr>
<tr class="memdesc:a96e10b4b091ba8b66589ee306188bb9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por atualizar uma struct album.  <a href="#a96e10b4b091ba8b66589ee306188bb9d"></a><br/></td></tr>
<tr class="memitem:a0916aa491154f6d12880f805efe377a6"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a0916aa491154f6d12880f805efe377a6">EditaFoto_LN</a> (<a class="el" href="struct_foto_usr.html">Foto_LN</a> *FotoPass)</td></tr>
<tr class="memdesc:a0916aa491154f6d12880f805efe377a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por atualizar uma foto.  <a href="#a0916aa491154f6d12880f805efe377a6"></a><br/></td></tr>
<tr class="memitem:ae40d6b38078676d560b13143f18c372d"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#ae40d6b38078676d560b13143f18c372d">DeletaConta_LN</a> (const char *CpfPass, <a class="el" href="struct_usuario.html">User_LN</a> *UserPass)</td></tr>
<tr class="memdesc:ae40d6b38078676d560b13143f18c372d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por deletar a conta e tudo que ela tem.  <a href="#ae40d6b38078676d560b13143f18c372d"></a><br/></td></tr>
<tr class="memitem:a119bf555c103a3f0033c7f2ce8a97d56"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a119bf555c103a3f0033c7f2ce8a97d56">DeletaAlbum_LN</a> (const char *CpfPass, const char *CodigAlbum, <a class="el" href="struct_album_str.html">Album_LN</a> *AlbumPass)</td></tr>
<tr class="memdesc:a119bf555c103a3f0033c7f2ce8a97d56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por deletar o album e tudo que ele tem.  <a href="#a119bf555c103a3f0033c7f2ce8a97d56"></a><br/></td></tr>
<tr class="memitem:a0f93f6e8556525bec364dbe3eabb6c19"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a0f93f6e8556525bec364dbe3eabb6c19">DeletaFoto_LN</a> (const char *CpfPass, const char *CodigAlbum, const char *CodigFoto)</td></tr>
<tr class="memdesc:a0f93f6e8556525bec364dbe3eabb6c19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct album.  <a href="#a0f93f6e8556525bec364dbe3eabb6c19"></a><br/></td></tr>
<tr class="memitem:a36f231da403644606fcdb4d09dd4cc8d"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a36f231da403644606fcdb4d09dd4cc8d">FazLogin_LN</a> (<a class="el" href="struct_usuario.html">User_LN</a> *UserPass)</td></tr>
<tr class="memdesc:a36f231da403644606fcdb4d09dd4cc8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct album.  <a href="#a36f231da403644606fcdb4d09dd4cc8d"></a><br/></td></tr>
<tr class="memitem:a13a1257d74a20c1fdd3970575f8ef266"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a13a1257d74a20c1fdd3970575f8ef266">ListaAlbunsUsuario_LN</a> (<a class="el" href="struct_album_str.html">Album_LN</a> **Publi, const char *CpfPass)</td></tr>
<tr class="memdesc:a13a1257d74a20c1fdd3970575f8ef266"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel listar os albums de um usuario.  <a href="#a13a1257d74a20c1fdd3970575f8ef266"></a><br/></td></tr>
<tr class="memitem:a2767f43de4315653de491777ffb2df80"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a2767f43de4315653de491777ffb2df80">ListaFotosAlbum_LN</a> (<a class="el" href="struct_foto_usr.html">Foto_LN</a> **Fotos, const char *CpfPass, const char *CodigPass)</td></tr>
<tr class="memdesc:a2767f43de4315653de491777ffb2df80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por listar as fotos de um album.  <a href="#a2767f43de4315653de491777ffb2df80"></a><br/></td></tr>
<tr class="memitem:a1faecc0e8a76a3bf2c47d8db76fd8b27"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a1faecc0e8a76a3bf2c47d8db76fd8b27">ListaAlbunsPublicos_LN</a> (<a class="el" href="struct_album_str.html">Album_LN</a> **Publi)</td></tr>
<tr class="memdesc:a1faecc0e8a76a3bf2c47d8db76fd8b27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por listar os albuns publicos.  <a href="#a1faecc0e8a76a3bf2c47d8db76fd8b27"></a><br/></td></tr>
<tr class="memitem:a5014493ba88cc7b4404f4c0b47ee2653"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a5014493ba88cc7b4404f4c0b47ee2653">PegaUsuario_LN</a> (<a class="el" href="struct_usuario.html">User_LN</a> *UserPass)</td></tr>
<tr class="memdesc:a5014493ba88cc7b4404f4c0b47ee2653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct <a class="el" href="struct_usuario.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Usuario</a>.  <a href="#a5014493ba88cc7b4404f4c0b47ee2653"></a><br/></td></tr>
<tr class="memitem:ab6d23af71ed0e93129769fa392dcdcec"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#ab6d23af71ed0e93129769fa392dcdcec">PegaFoto_LN</a> (<a class="el" href="struct_foto_usr.html">Foto_LN</a> *FotoPass)</td></tr>
<tr class="memdesc:ab6d23af71ed0e93129769fa392dcdcec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct Foto.  <a href="#ab6d23af71ed0e93129769fa392dcdcec"></a><br/></td></tr>
<tr class="memitem:a34f5d7e35146f8a6c6017544483c2c37"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a34f5d7e35146f8a6c6017544483c2c37">PegaAlbum_LN</a> (<a class="el" href="struct_album_str.html">Album_LN</a> *AlbumPass)</td></tr>
<tr class="memdesc:a34f5d7e35146f8a6c6017544483c2c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct Album.  <a href="#a34f5d7e35146f8a6c6017544483c2c37"></a><br/></td></tr>
<tr class="memitem:aa92460d9cb071117d3ba7a5023ca2902"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#aa92460d9cb071117d3ba7a5023ca2902">VotaEmFoto_LN</a> (<a class="el" href="struct_foto_usr.html">Foto_LN</a> *FotoPass, int ValorVoto)</td></tr>
<tr class="memdesc:aa92460d9cb071117d3ba7a5023ca2902"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por pencher uma struct album.  <a href="#aa92460d9cb071117d3ba7a5023ca2902"></a><br/></td></tr>
<tr class="memitem:adf862d77e2bc2a660fdb086ca0a3cedd"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#adf862d77e2bc2a660fdb086ca0a3cedd">MudaFotoAlbum_LN</a> (<a class="el" href="struct_foto_usr.html">Foto_LN</a> *FotoPass, const char *CodigAlbum)</td></tr>
<tr class="memdesc:adf862d77e2bc2a660fdb086ca0a3cedd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Muda uma foto de album.  <a href="#adf862d77e2bc2a660fdb086ca0a3cedd"></a><br/></td></tr>
<tr class="memitem:a6380a30d00e1e36d1e1b8a7828b096a3"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a6380a30d00e1e36d1e1b8a7828b096a3">ListaUsuariosBloqueados_LN</a> (<a class="el" href="struct_lista_usuario___l_n.html">ListaUsers_LN</a> **Bloqu)</td></tr>
<tr class="memdesc:a6380a30d00e1e36d1e1b8a7828b096a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel dar a lista de usuarios bloqueados.  <a href="#a6380a30d00e1e36d1e1b8a7828b096a3"></a><br/></td></tr>
<tr class="memitem:a627ee8929199e4f616c3109f3a68bb26"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a627ee8929199e4f616c3109f3a68bb26">DesbloqueiaUsuario_LN</a> (const char *CpfPass)</td></tr>
<tr class="memdesc:a627ee8929199e4f616c3109f3a68bb26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por desbloquear usuario.  <a href="#a627ee8929199e4f616c3109f3a68bb26"></a><br/></td></tr>
<tr class="memitem:a5f20f7eaa86a8d9598f51bc1adc79be0"><td class="memItemLeft" align="right" valign="top">ExtLN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_in_log_neg_8h.html#a5f20f7eaa86a8d9598f51bc1adc79be0">VerificaAdmin_LN</a> (const char *NomePass, const char *SenhaPass)</td></tr>
<tr class="memdesc:a5f20f7eaa86a8d9598f51bc1adc79be0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Responsavel por logar o adm.  <a href="#a5f20f7eaa86a8d9598f51bc1adc79be0"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Interface do Modulo Logica de Negocios. </p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="ac9bc311a72767baf035254d438b7ead8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int AddAlbum_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> *&#160;</td>
          <td class="paramname"><em>AlbumPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel adcionar um novo album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario a quem o album pertence. </td></tr>
    <tr><td class="paramname">AlbumPass</td><td>: o album com os dados a serem geredos. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Album prenchido sucesso. <br/>
 -200 - Album ja existe -2 - Numero maximo de abuns exedido NG - Erro nos arquivos.<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="ae1e87ec6b287b91c149a71683da0dd1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int AddConta_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>NomePass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>SenhaPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por salvar o usuario. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario. </td></tr>
    <tr><td class="paramname">NomePass</td><td>: O nome do usuario. </td></tr>
    <tr><td class="paramname">SenhaPass</td><td>: O codigo do album a ser retornado. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Album prenchido sucesso. <br/>
 -2 - <a class="el" href="struct_usuario.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Usuario</a> ja Cadastrado NG - Erro nos arquivos.<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="ac1d90ac6ca166f7e40a17f6de6d0eafb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int AddFoto_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigAlbumPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> *&#160;</td>
          <td class="paramname"><em>FotoPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel Armazenar uma Foto. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario a foto pertence. </td></tr>
    <tr><td class="paramname">CodigPass</td><td>: O codigo do album a foto pertence. </td></tr>
    <tr><td class="paramname">FotoPass</td><td>: uma foto para ser salva. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Album prenchido sucesso. <br/>
 -200 - Foto ja existe<br/>
 -2 - Numero maximo de fotos exedida<br/>
 NG - Erro nos arquivos.<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a119bf555c103a3f0033c7f2ce8a97d56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int DeletaAlbum_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigAlbum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> *&#160;</td>
          <td class="paramname"><em>AlbumPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por deletar o album e tudo que ele tem. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario. </td></tr>
    <tr><td class="paramname">CodigAlbum</td><td>: O codigo do album. </td></tr>
    <tr><td class="paramname">AlbumPass</td><td>: uma struct album completa. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um inteiro que diz o tipo de erro ocorrido:<br/>
 0 - Se apago<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="ae40d6b38078676d560b13143f18c372d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int DeletaConta_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_usuario.html">User_LN</a> *&#160;</td>
          <td class="paramname"><em>UserPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por deletar a conta e tudo que ela tem. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass</td><td>: O cpf do ususario. </td></tr>
    <tr><td class="paramname">UserPass</td><td>: Uma struct completa do user. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um inteiro que diz o tipo de erro ocorrido:<br/>
 0 - apago<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a0f93f6e8556525bec364dbe3eabb6c19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int DeletaFoto_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigAlbum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigFoto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario a quem a foto pertence. </td></tr>
    <tr><td class="paramname">CodigAlbum</td><td>: O codigo do album de que a foto pertence. </td></tr>
    <tr><td class="paramname">AlbumFoto</td><td>: O codigo da foto a ser deletada. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um inteiro que diz o tipo de erro ocorrido:<br/>
 0 - Se apago<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a627ee8929199e4f616c3109f3a68bb26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int DesbloqueiaUsuario_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por desbloquear usuario. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">Bloqu</td><td>: um ponteiro onde a lista vai. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Desbloqueado<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a96e10b4b091ba8b66589ee306188bb9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int EditaAlbum_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> *&#160;</td>
          <td class="paramname"><em>AlbumPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por atualizar uma struct album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">AlbumPass</td><td>: Os novos dados do album. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Album atualizado sucesso. <br/>
 -1 - Erro de Banco de dados.<br/>
 -2 - Album nao existente. </dd></dl>

</div>
</div>
<a class="anchor" id="a3485088c91f592ca019bacf4afcfb502"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int EditaConta_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>NomePass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>SenhaPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel editar informacoes de um usuario. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario de quem vai ser Atualizado. </td></tr>
    <tr><td class="paramname">NomePass</td><td>: O novo nome </td></tr>
    <tr><td class="paramname">SenhaPass</td><td>: a nova senha </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 = Sucesso.<br/>
 -1 = Erro de Arquivo.<br/>
 -2 = <a class="el" href="struct_usuario.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Usuario</a> nao encontrado.<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a0916aa491154f6d12880f805efe377a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int EditaFoto_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> *&#160;</td>
          <td class="paramname"><em>FotoPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por atualizar uma foto. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">FotoPass</td><td>: Os novos dados da foto. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um inteiro que diz o tipo de erro ocorrido:<br/>
 0 - Se a senha esta correta<br/>
 -1 - Erro de Banco de Dados<br/>
 -2 - O <a class="el" href="struct_usuario.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Usuario</a> nao existe<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a36f231da403644606fcdb4d09dd4cc8d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int FazLogin_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_usuario.html">User_LN</a> *&#160;</td>
          <td class="paramname"><em>UserPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">UserPass,:</td><td>Passa um usuario. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um inteiro que diz o tipo de erro ocorrido:<br/>
 0 - Se a senha esta correta<br/>
 -2 - Erro de Banco de Dados<br/>
 -3 - UsuariBloqueado<br/>
 -4 - Senha Iconrreta<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a1faecc0e8a76a3bf2c47d8db76fd8b27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int ListaAlbunsPublicos_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> **&#160;</td>
          <td class="paramname"><em>Publi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por listar os albuns publicos. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">Publi</td><td>: um ponteiro onde a lista vai. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a13a1257d74a20c1fdd3970575f8ef266"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int ListaAlbunsUsuario_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> **&#160;</td>
          <td class="paramname"><em>Publi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel listar os albums de um usuario. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario. </td></tr>
    <tr><td class="paramname">Publi</td><td>: um ponteiro onde a lista vai. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a2767f43de4315653de491777ffb2df80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int ListaFotosAlbum_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> **&#160;</td>
          <td class="paramname"><em>Fotos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CpfPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por listar as fotos de um album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CpfPass,:</td><td>O cpf do ususario a quem o album pertence. </td></tr>
    <tr><td class="paramname">CodigPass,:</td><td>O codigo do Album . </td></tr>
    <tr><td class="paramname">Fotos</td><td>: um ponteiro onde a lista vai. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a6380a30d00e1e36d1e1b8a7828b096a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int ListaUsuariosBloqueados_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_lista_usuario___l_n.html">ListaUsers_LN</a> **&#160;</td>
          <td class="paramname"><em>Bloqu</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel dar a lista de usuarios bloqueados. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">AlbumPego</td><td>: O codigo do album a ser retornado. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="adf862d77e2bc2a660fdb086ca0a3cedd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int MudaFotoAlbum_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> *&#160;</td>
          <td class="paramname"><em>FotoPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>CodigAlbum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Muda uma foto de album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">CodigAlbum</td><td>: O codigo do novo album. </td></tr>
    <tr><td class="paramname">FotoPass</td><td>: a estrutura da foto que vai ser mudada(Tem o album velho). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a34f5d7e35146f8a6c6017544483c2c37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int PegaAlbum_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_album_str.html">Album_LN</a> *&#160;</td>
          <td class="paramname"><em>AlbumPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct Album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">AlbumPass</td><td>: O struct meia prechida para ser completada. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="ab6d23af71ed0e93129769fa392dcdcec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int PegaFoto_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> *&#160;</td>
          <td class="paramname"><em>FotoPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct Foto. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">FotoPass</td><td>: O struct meia prechida para ser completada. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a5014493ba88cc7b4404f4c0b47ee2653"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int PegaUsuario_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_usuario.html">User_LN</a> *&#160;</td>
          <td class="paramname"><em>UserPass</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct <a class="el" href="struct_usuario.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Usuario</a>. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">UserPass</td><td>: O struct meia prechida para ser completada. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="a5f20f7eaa86a8d9598f51bc1adc79be0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int VerificaAdmin_LN </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>NomePass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>SenhaPass</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por logar o adm. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">NomePass,:</td><td>o nome do administrador </td></tr>
    <tr><td class="paramname">SenhaPass</td><td>: a senha do administrador </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Logou<br/>
 NG - Nao logou<br/>
 </dd></dl>

</div>
</div>
<a class="anchor" id="aa92460d9cb071117d3ba7a5023ca2902"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ExtLN int VotaEmFoto_LN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_foto_usr.html">Foto_LN</a> *&#160;</td>
          <td class="paramname"><em>FotoPass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ValorVoto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Responsavel por pencher uma struct album. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">FotoPass,:</td><td>O cpf do ususario a quem o album pertence. </td></tr>
    <tr><td class="paramname">ValorVoto</td><td>: O codigo do album a ser retornado. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Um int que funciona com "bool":<br/>
 0 - Sucesso<br/>
 NG - Erro de Banco de Dados<br/>
 </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_in_log_neg_8h.html">InLogNeg.h</a></li>
    <li class="footer">Generated on Wed Jul 4 2012 11:44:30 for My Project by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
  </ul>
</div>
</body>
</html>
